package com.huikeportal.model;

import java.util.List;

public class TreeHtml {

	// 当前节点id
	private Long id;
	// 角色id(每个节点是一个角色)
	private String roleId;
	// 角色名称(节点名称)
	private String roleName;
	// 节点描述
	private String description;
	// 当前节点所生成的html
	private String html;
	// 当前节点的父节点id
	private Long parentId;
	// 当前节点的孩子
	private List<TreeHtml> childHtml;
	// 是否是叶子节点
	private boolean isLeaf;
	// 节点位于第几层
	private int floorNum;
	// 是否已经处理过
	private boolean isDeal;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getRoleId() {
		return roleId;
	}

	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getHtml() {
		return html;
	}

	public void setHtml(String html) {
		this.html = html;
	}

	public Long getParentId() {
		return parentId;
	}

	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}

	public List<TreeHtml> getChildHtml() {
		return childHtml;
	}

	public void setChildHtml(List<TreeHtml> childHtml) {
		this.childHtml = childHtml;
	}

	public boolean isLeaf() {
		return isLeaf;
	}

	public void setLeaf(boolean isLeaf) {
		this.isLeaf = isLeaf;
	}

	public int getFloorNum() {
		return floorNum;
	}

	public void setFloorNum(int floorNum) {
		this.floorNum = floorNum;
	}

	public boolean isDeal() {
		return isDeal;
	}

	public void setDeal(boolean isDeal) {
		this.isDeal = isDeal;
	}

}
